home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11347 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: nuclear.microserve.net!news
  2. From: tcornett@leba.net (Tom Cornett)
  3. Newsgroups: comp.lang.c++
  4. Subject: repainting a window
  5. Date: Thu, 14 Mar 1996 05:55:01 GMT
  6. Organization: PNPA
  7. Message-ID: <4i81p1$q8h@crash.microserve.net>
  8. NNTP-Posting-Host: 206.228.72.33
  9. X-Newsreader: Forte Free Agent 1.0.82
  10.  
  11. I am working on a program to display GIF files using Borland C++ 4.0.
  12. The program is being compiled as a windows 16-bit executable.  I can
  13. display the gif file, but as soon as it is displayed, it disappeared.
  14. I couldn't find any misplaced Invalidate() functions and found out
  15. that after the image dissappears, the paint message is sent.  I'm
  16. pretty much sure that it is sent after the SetPixel() function is
  17. called.  Does anyone have any suggestions on how to get around this
  18. problem?  I have already tried  to redisplay the image everytime the
  19. Paint message is received, but since the Paint message is sent after
  20. the SetPixel() command, it throws it into an infinate loop constantly
  21. redisplaying the image.  Any help would be appreciated.
  22.  
  23. Please e-mail any replies to any of the following addresses.
  24. <tcornett@leba.net>
  25. <tomc@paol.pnpa.com>
  26.  
  27. Thank you to anyone who replies.
  28.  
  29. Tom Cornett
  30.  
  31.